package testBitmap 
{
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import flash.geom.Point;
	import flash.utils.Dictionary;
	/**
	 * ...
	 * @author ...
	 */
	public class Block extends Sprite
	{
		private var _backgrnd:Sprite;
		private var _image:Sprite;
		private var _imageDict:Dictionary;
		private var _point:Point;
		private var _vPoint:Vector.<Point>;
		
		public function Block() 
		{			
			_vPoint = new Vector.<Point>();
		}
		
		public function createBackgrnd(x:Number, y:Number, width:Number, height:Number):void
		{
			_backgrnd = new Sprite;
			_backgrnd.graphics.clear();
			_backgrnd.graphics.beginFill(0x000000, 0.6);
			_backgrnd.graphics.drawRect(0, 0, width, height);
			_backgrnd.graphics.endFill();
			_backgrnd.x = x;
			_backgrnd.y = y;
			addChild(_backgrnd);
			_point = new Point(_backgrnd.x, _backgrnd.y)
			_vPoint.push(_point);
		}
	}

}